﻿/* ================================================================
   TEKWORLD 2026 - PDP step 1
   Layout a 2 colonne sopra la piega, sopra template Warehouse stabile.
   ================================================================ */

:root {
  --tw-gri: #54585c;
  --tw-gri2: #3d4044;
  --tw-arancione: #ff6600;
  --tw-arancione-dark: #e65a00;
  --tw-bg: #f6f7f8;
  --tw-bordo: #e4e7ec;
  --tw-bordo2: #eef1f5;
  --tw-grigio: #6b7280;
  --tw-grigio2: #9aa1ad;
  --tw-nero: #14181f;
  --tw-verde: #1ea672;
  --tw-rosso: #e02424;
  --tw-giallo: #f5b50a;
  --tw-radius: 14px;
  --tw-radius-sm: 10px;
  --tw-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  /* Il font non viene piÃƒÂ¹ forzato qui: eredita quello impostato
     nel Theme Editor (iqitthemeeditor Ã¢â€ â€™ Typography). */
  --tw-font: inherit;
}

body#product,
body#product #wrapper {
  background: var(--tw-bg);
}

body#product #product-preloader {
  display: none !important;
}

body#product #main-product-wrapper {
  opacity: 1;
  visibility: visible;
  font-family: var(--tw-font);
  font-size: 14px;
  line-height: 1.5;
}

body#product button,
body#product input,
body#product select,
body#product textarea {
  font-family: var(--tw-font);
}

body#product .breadcrumb,
body#product .breadcrumb ol {
  font-size: 12.5px;
  color: var(--tw-grigio);
}

/* ===== Top PDP: due colonne reali ===== */
body#product .product-info-row {
  display: grid !important;
  grid-template-columns: minmax(420px, .95fr) minmax(420px, 1fr);
  column-gap: 56px;
  row-gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 14px 42px;
  box-sizing: border-box;
}

body#product .product-info-row > .col-product-image,
body#product .product-info-row > .col-product-info,
body#product .product-info-row > .product-sidebar {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body#product .product-info-row > .col-product-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: sticky;
  top: 92px;
  align-self: start;
}

body#product .product-info-row > .col-product-info,
body#product .product-info-row > .product-sidebar {
  grid-column: 2;
}

body#product .product-info-row > .col-product-info {
  grid-row: 1;
  min-height: 0 !important;
  padding: 0 10px 8px 0 !important;
  border-right: 0 !important;
  background: transparent !important;
}

body#product .product-info-row > .product-sidebar {
  grid-row: 2;
  padding-right: 10px !important;
}

/* Nasconde il widget Feedaty dentro la parte alta: lo rimetteremo nella sezione recensioni. */
body#product .col-product-info .row:has(.feedaty_widget) {
  display: none !important;
}

body#product .col-product-info .product-information {
  display: none !important;
}

body#product .col-product-info #estimateddelivery,
body#product .col-product-info .estimateddelivery {
  display: none !important;
}

/* ===== Galleria ===== */
body#product .col-product-image,
body#product .col-product-image .page-content,
body#product .col-product-image #content {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body#product .col-product-image .images-container,
body#product .col-product-image .product-cover,
body#product .col-product-image .product-cover-thumbnails,
body#product .col-product-image .product-cover-container {
  border-radius: var(--tw-radius);
}

body#product .col-product-image .product-cover,
body#product .col-product-image .product-cover img,
body#product .col-product-image .js-qv-product-cover {
  background: #fff;
}

body#product .col-product-image .product-cover {
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

body#product .col-product-image img {
  object-fit: contain;
}

body#product .col-product-image .thumb-container,
body#product .col-product-image .product-images > li.thumb-container {
  border-radius: var(--tw-radius-sm);
}

body#product .col-product-image .thumb {
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius-sm);
  background: #fff;
  padding: 8px;
}

body#product .col-product-image .thumb.selected,
body#product .col-product-image .thumb:hover {
  border-color: var(--tw-gri);
  box-shadow: 0 0 0 2px rgba(84, 88, 92, .18);
}

/* ===== Info destra ===== */
body#product .product_header_container {
  margin: 0;
  padding: 0;
  border-bottom: 0 !important;
  background: transparent !important;
}

body#product .tw-product-kicker {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 18px !important;
}

body#product .tw-brand-title {
  display: block !important;
  margin: 0 !important;
  color: var(--tw-gri) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body#product .tw-product-code {
  margin-left: auto;
  color: var(--tw-grigio2);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

body#product .tw-product-code strong {
  font-weight: 400;
}

body#product .product_header_container .product-manufacturer,
body#product .product_header_container .manufacturer_image_list,
body#product .product-reference .manufacturer_image_list {
  display: none !important;
}

body#product .page-title,
body#product .page-title span {
  margin: 0;
  color: var(--tw-nero);
  font-size: 28px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: 0;
}

body#product .product-reference {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0;
  color: var(--tw-grigio2);
  font-size: 12.5px;
}

body#product .product-reference .label {
  color: var(--tw-grigio2);
  font-weight: 400;
}

body#product .product-reference span[itemprop="sku"] {
  font-weight: 500;
}

body#product .tw-top-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

body#product .tw-top-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--tw-bordo);
  border-radius: 999px;
  background: #fff;
  color: var(--tw-nero);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  box-shadow: var(--tw-shadow-sm);
}

body#product .tw-top-feature i {
  color: var(--tw-gri);
  font-style: normal;
  font-weight: 700;
}

body#product .tw-top-feature strong {
  font-weight: 600;
}

body#product .product-manufacturer,
body#product .manufacturer_image_list {
  margin: 12px 0 !important;
}

body#product .manufacturer-logo,
body#product .manufacturer_image_list img {
  max-height: 34px;
  width: auto;
}

body#product #product-description-short,
body#product [id^="product-description-short-"] {
  display: none !important;
}

body#product .tw-header-rating {
  margin: 18px 0 0;
}

body#product .tw-header-rating:empty {
  display: none;
}

body#product .product-ratings,
body#product .iqit-reviews-rating {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--tw-grigio);
}

body#product .tw-header-rating .product-ratings,
body#product .tw-header-rating .iqit-reviews-rating,
body#product .tw-header-rating .comments_note,
body#product .tw-header-rating .grade-stars {
  margin: 0;
}

body#product #product-page-primary-price-block .product-prices > .product-ratings,
body#product #product-page-primary-price-block .product-prices > .iqit-reviews-rating,
body#product #product-page-primary-price-block .product-prices > .comments_note,
body#product #product-page-primary-price-block .product-prices > .grade-stars {
  display: none !important;
}

/* ===== Buy box ===== */
body#product .product-sidebar {
  margin-top: 0;
}

body#product #product-page-primary-price-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 0 !important;
  box-shadow: none !important;
}

body#product #product-page-primary-price-block .tw-buy-card {
  order: 10;
}

body#product #product-page-primary-price-block .tw-delivery-card {
  order: 20;
}

body#product #product-page-primary-price-block #tw-warranty-after-delivery-anchor {
  order: 30;
}

body#product #product-page-primary-price-block .tw-trust-links {
  order: 40;
}

body#product #product-page-primary-price-block .tw-buy-card,
body#product #product-page-primary-price-block > .blockreassurance_product {
  background: #fff;
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-sm);
}

body#product #product-page-primary-price-block .tw-buy-card {
  padding: 26px;
  text-align: left;
}

body#product #product-page-primary-price-block .product-prices {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

body#product #product-page-primary-price-block .product-actions {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#product .current-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 14px;
  width: 100%;
  text-align: left;
}

body#product .current-price .product-price {
  color: var(--tw-gri) !important;
  font-size: 42px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: 0;
}

body#product .discount-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

body#product .regular-price {
  color: var(--tw-grigio2) !important;
  font-size: 16px;
  text-decoration: line-through;
  font-weight: 400;
}

body#product .badge-discount,
body#product .discount-percentage,
body#product .discount-amount {
  background: var(--tw-arancione) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
}

body#product .tax-shipping-delivery-label,
body#product .product-without-taxes {
  margin-top: 16px;
  color: var(--tw-grigio);
  font-size: 13px;
}

body#product .tax-shipping-delivery-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

body#product .product-quantity {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 16px 0 0;
}

body#product .product-quantity > .col,
body#product .product-quantity > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
}

body#product .product-quantity .add-to-cart-container-button {
  flex: 1;
}

body#product .product-quantity .qty {
  width: 172px;
  height: 56px;
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius-sm);
  background: #fff;
  overflow: hidden;
}

body#product #quantity_wanted {
  width: 100%;
  height: 54px;
  border: 0;
  box-shadow: none;
  text-align: center;
  color: var(--tw-nero);
  font-size: 16px;
  font-weight: 700;
}

body#product .add-to-cart {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: var(--tw-radius-sm);
  background: var(--tw-arancione);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body#product .add-to-cart:hover,
body#product .add-to-cart:focus {
  background: var(--tw-arancione-dark);
  color: #fff;
}

body#product .product-availability {
  display: none !important;
}

body#product #product-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  color: var(--tw-verde) !important;
  border: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}

body#product .tw-buy-availability {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--tw-verde);
}

body#product .tw-buy-availability-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--tw-verde);
  box-shadow: 0 0 0 6px rgba(30, 166, 114, .16);
  flex: 0 0 auto;
}

body#product .tw-buy-availability strong {
  display: block;
  color: var(--tw-verde);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

body#product .tw-buy-availability small {
  display: block;
  margin-top: 5px;
  color: #5b6472;
  font-size: 13px;
  line-height: 1.35;
}

body#product .tw-buy-availability.is-unavailable,
body#product .tw-buy-availability.is-unavailable strong {
  color: var(--tw-rosso);
}

body#product .tw-buy-availability.is-unavailable .tw-buy-availability-dot {
  background: var(--tw-rosso);
  box-shadow: 0 0 0 6px rgba(224, 36, 36, .14);
}

body#product #product-availability::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tw-verde);
  box-shadow: 0 0 0 5px rgba(30, 166, 114, .16);
}

body#product #product-availability i {
  display: none;
}

body#product .product-minimal-quantity {
  margin: 12px 0 0;
  color: var(--tw-grigio);
  font-size: 13px;
}

/* Finanziamento / hook after price */
body#product #product-page-primary-price-block .pago_light_container {
  margin: 18px 0 0;
  padding: 16px 18px;
  background: #eef4ec;
  border-color: #d6e8d0;
  border: 1px solid #d6e8d0;
  border-radius: 10px;
  color: #2f5e36;
  font-size: 14px;
}

body#product #product-page-primary-price-block .pago_light_container:empty {
  display: none;
}

body#product #product-page-primary-price-block .tw-delivery-card {
  background: #fff;
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

body#product #product-page-primary-price-block .tw-delivery-card:empty {
  display: none;
}

body#product #product-page-primary-price-block .tw-delivery-card #estimateddelivery,
body#product #product-page-primary-price-block .tw-delivery-card .estimateddelivery {
  display: block !important;
  margin: 0 !important;
  background: #fff !important;
  border: 0 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card #estimateddelivery > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card h4,
body#product #product-page-primary-price-block .tw-delivery-card h5,
body#product #product-page-primary-price-block .tw-delivery-card .block-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--tw-bordo2) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--tw-nero) !important;
  background: #fff !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .ed_item {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--tw-bordo2) !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .ed_item:last-child {
  border-bottom: 0 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .ed_orderbefore,
body#product #product-page-primary-price-block .tw-delivery-card .title-text {
  color: var(--tw-verde) !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .ed_carrier_name {
  color: #374151 !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid var(--tw-bordo2) !important;
  color: var(--tw-nero) !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  background: #fff !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: #eef0f2 !important;
  color: var(--tw-gri) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-lines {
  padding: 0 18px 14px !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-line {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  color: #1f3552 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-date {
  color: var(--tw-verde) !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-with {
  color: #5b6472 !important;
  font-weight: 500 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-separator {
  color: #7b8794 !important;
  margin: 0 2px !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .checkmark {
  display: none !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-standard-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--tw-bordo2) !important;
  background: #fff !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-standard-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--tw-nero) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-standard-title i {
  color: #54585c !important;
  font-size: 15px !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-free {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid #cfe5ca !important;
  border-radius: 8px !important;
  background: #eef8eb !important;
  color: var(--tw-verde) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-timeline {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(80px, .72fr) minmax(0, 1fr) !important;
  align-items: start !important;
  padding: 22px 46px 20px !important;
  border-bottom: 1px solid var(--tw-bordo2) !important;
  background: #fff !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  text-align: center !important;
  min-width: 0 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step-dot {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: var(--tw-verde) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 21px !important;
  box-shadow: 0 0 0 6px rgba(30, 166, 114, .08) !important;
  z-index: 1 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step-line {
  height: 2px !important;
  margin-top: 28px !important;
  background: #9bddc3 !important;
  align-self: start !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step strong {
  color: var(--tw-nero) !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step small {
  color: #6b7280 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid var(--tw-bordo2) !important;
  background: #fff !important;
  color: var(--tw-nero) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-row:last-child {
  border-bottom: 0 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-detail {
  padding-top: 20px !important;
  padding-bottom: 18px !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-detail ul {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-detail li {
  position: relative !important;
  padding-left: 28px !important;
  color: #374151 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-detail li::before {
  content: "Ã¢Å“â€œ" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--tw-verde) !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-green {
  color: var(--tw-verde) !important;
  font-weight: 700 !important;
}

body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-price {
  flex: 0 0 auto !important;
  color: var(--tw-grigio) !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body#product #product-page-primary-price-block .tw-delivery-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-bordo2);
  font-size: 15px;
  color: var(--tw-nero);
}

body#product #product-page-primary-price-block .tw-delivery-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef0f2;
  color: var(--tw-gri);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

body#product #product-page-primary-price-block .tw-delivery-free {
  margin-left: auto;
  color: var(--tw-verde);
  background: #eef4ec;
  border: 1px solid #d6e8d0;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
}

body#product #product-page-primary-price-block .tw-delivery-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px 16px;
  text-align: center;
}

body#product #product-page-primary-price-block .tw-delivery-steps > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

body#product #product-page-primary-price-block .tw-step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tw-verde);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

body#product #product-page-primary-price-block .tw-delivery-steps strong {
  font-size: 13px;
  color: var(--tw-nero);
}

body#product #product-page-primary-price-block .tw-delivery-steps small {
  font-size: 12px;
  color: var(--tw-grigio);
}

/* Consegna e rassicurazioni */
body#product #product-page-primary-price-block > .delivery-information,
body#product #product-page-primary-price-block .product-delivery-time,
body#product #product-page-primary-price-block .iqitdelivery,
body#product #product-page-primary-price-block .delivery-time {
  background: #fff;
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius);
  padding: 18px;
  color: var(--tw-nero);
}

body#product .blockreassurance_product,
body#product #block-reassurance,
body#product .product-features {
  border-radius: var(--tw-radius);
}

body#product .tw-trust-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--tw-bordo2);
}

body#product .tw-trust-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--tw-nero);
  text-decoration: none;
  border-radius: 10px;
  transition: color .16s ease, background-color .16s ease;
}

body#product .tw-trust-link:hover,
body#product .tw-trust-link:focus {
  color: var(--tw-arancione);
  text-decoration: none;
}

body#product .tw-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef0f2;
  color: var(--tw-gri);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  font-size: 18px;
}

body#product .tw-trust-link:hover .tw-trust-icon,
body#product .tw-trust-link:focus .tw-trust-icon {
  color: var(--tw-arancione);
  background: #fff3eb;
}

body#product .tw-trust-link strong {
  display: block;
  color: inherit;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

body#product .tw-trust-link small {
  display: block;
  margin-top: 3px;
  color: #1f3552;
  font-size: 13px;
  line-height: 1.35;
}

body#product .tw-trust-link:hover small,
body#product .tw-trust-link:focus small {
  color: #5b6472;
}

body#product #product-page-primary-price-block .product-features,
body#product #product-page-primary-price-block .blockreassurance_product:not(.tw-trust-links),
body#product #product-page-primary-price-block #block-reassurance {
  display: none !important;
}

body#product .tw-remove-raee-service {
  display: none !important;
}

body#product .wishlist-button-add,
body#product .compare-button,
body#product #blockcart-modal-wishlist {
  display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  body#product .product-info-row {
    grid-template-columns: minmax(360px, .9fr) minmax(380px, 1fr);
    column-gap: 34px;
    row-gap: 22px;
  }

  body#product .current-price .product-price {
    font-size: 40px !important;
  }

  body#product .add-to-cart {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  body#product .product-info-row {
    display: block !important;
    padding-bottom: 32px;
  }

  body#product .product-info-row > .col-product-image {
    position: static;
    margin-bottom: 28px;
  }

  body#product .product-info-row > .col-product-info {
    margin-bottom: 18px;
  }

  body#product .page-title,
  body#product .page-title span {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  body#product .product-quantity {
    flex-direction: column;
  }

  body#product .product-quantity .qty {
    width: 100%;
  }

  body#product .current-price .product-price {
    font-size: 32px !important;
  }

  body#product .tw-trust-links {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ===== Below fold: highlights + descrizione ===== */
body#product .tw-highlights-section {
  border-top: 1px solid var(--tw-bordo);
  border-bottom: 1px solid var(--tw-bordo);
  margin: 8px calc(50% - 50vw) 0;
  padding: 42px max(24px, calc((100vw - 1440px) / 2));
  background: var(--tw-bg);
}

body#product .tw-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

body#product .tw-highlight-card {
  min-height: 150px;
  background: #fff;
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: var(--tw-shadow-sm);
}

body#product .tw-highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eef0f2;
  color: var(--tw-gri);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

body#product .tw-highlight-card strong {
  color: var(--tw-gri);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

body#product .tw-highlight-card small {
  display: block;
  margin-top: 8px;
  color: #3e5c76;
  font-size: 14px;
  line-height: 1.5;
}

body#product .tw-description-section {
  margin: 0 calc(50% - 50vw);
  padding: 44px max(24px, calc((100vw - 1440px) / 2)) 38px;
  background: #fff;
}

body#product .tw-section-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}

body#product .tw-section-heading h2 {
  margin: 0;
  color: var(--tw-nero);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

body#product .tw-section-heading span {
  flex: 1;
  height: 1px;
  background: var(--tw-bordo);
}

body#product .tw-description-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr);
  gap: 48px;
  align-items: start;
}

body#product .tw-description-main {
  position: relative;
  min-width: 0;
}

body#product .tw-description-content {
  position: relative;
  max-height: 360px;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  line-height: 1.65;
}

body#product .tw-description-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  height: 92px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
}

body#product .tw-description-section.is-expanded .tw-description-content {
  max-height: none;
  overflow: visible;
}

body#product .tw-description-section.tw-description-ready:not(.is-expanded):not(.tw-description-short) .tw-description-content {
  max-height: 360px !important;
  overflow: hidden !important;
}

body#product .tw-description-section.is-expanded .tw-description-main::after,
body#product .tw-description-section.tw-description-short .tw-description-main::after {
  display: none;
}

body#product .tw-description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid var(--tw-bordo);
  border-radius: 10px;
  background: #fff;
  color: #1f3552;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: var(--tw-shadow-sm);
  cursor: pointer;
}

body#product .tw-description-toggle:hover,
body#product .tw-description-toggle:focus {
  border-color: #b9c6d6;
  color: var(--tw-blu);
}

body#product .tw-description-section.tw-description-short .tw-description-toggle {
  display: none;
}

body#product .tw-description-content p {
  margin: 0 0 18px;
}

body#product .tw-why-card {
  background: #fff;
  border: 1px solid var(--tw-bordo);
  border-radius: var(--tw-radius);
  padding: 22px 24px;
  box-shadow: var(--tw-shadow-sm);
}

body#product .tw-why-card h3 {
  margin: 0 0 20px;
  color: var(--tw-grigio);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#product .tw-why-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body#product .tw-why-card li {
  display: flex;
  gap: 12px;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

body#product .tw-why-card li span {
  color: var(--tw-verde);
  font-weight: 700;
  flex: 0 0 auto;
}

body#product #row-before-product-tabs,
body#product #main-product-wrapper > .tabs,
body#product #main-product-wrapper .product-tabs {
  display: none !important;
}

@media (max-width: 991px) {
  body#product .tw-highlights-grid,
  body#product .tw-description-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-timeline {
    grid-template-columns: 1fr 54px 1fr !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step-dot {
    width: 48px !important;
    height: 48px !important;
    font-size: 18px !important;
  }

  body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-step-line {
    margin-top: 24px !important;
  }

  body#product #product-page-primary-price-block .tw-delivery-card .tw-ed-service-row {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body#product .tw-highlights-section,
  body#product .tw-description-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  body#product .tw-description-grid {
    grid-template-columns: 1fr;
  }

  /* Highlights: 2 colonne compatte anche su telefono */
  body#product .tw-highlights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body#product .tw-highlight-card {
    min-height: auto;
    padding: 14px;
  }

  body#product .tw-highlight-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }

  body#product .tw-highlight-card strong {
    font-size: 17px;
  }

  body#product .tw-highlight-card small {
    margin-top: 4px;
    font-size: 12px;
  }
}

/* ===== Energy scale + specs ===== */
body#product .tw-energy-section {
  margin: 0 calc(50% - 50vw);
  padding: 38px max(24px, calc((100vw - 1440px) / 2));
  background: var(--tw-bg);
  border-top: 0;
  border-bottom: 0;
}

body#product .tw-energy-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  box-shadow: none;
}

body#product .tw-energy-scale {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

body#product .tw-energy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 27px;
}

body#product .tw-energy-bar {
  height: 27px;
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 27px;
  padding-left: 12px;
}

body#product .tw-energy-a { width: 158px; background: #1c943f; }
body#product .tw-energy-b { width: 178px; background: #52ad50; }
body#product .tw-energy-c { width: 198px; background: #a5d765; }
body#product .tw-energy-d { width: 218px; background: #f4d13d; }
body#product .tw-energy-e { width: 238px; background: #f9aa5d; }
body#product .tw-energy-f { width: 178px; background: #f5820a; }
body#product .tw-energy-g { width: 274px; background: #e1121b; }

body#product .tw-energy-row b {
  display: inline-block;
  width: 82px;
  color: var(--tw-nero);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 700;
}

body#product .tw-energy-row i {
  color: var(--tw-nero);
  font-style: normal;
  font-size: 13px;
  margin-left: 0;
}

body#product .tw-energy-copy h2 {
  margin: 0 0 14px;
  color: var(--tw-nero);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

body#product .tw-energy-copy p {
  margin: 0;
  color: #3e5c76;
  font-size: 14px;
  line-height: 1.6;
}

body#product .tw-specs-section {
  margin: 0 calc(50% - 50vw);
  padding: 46px max(24px, calc((100vw - 1440px) / 2));
  background: #fff;
}

body#product .tw-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

body#product .tw-spec-group h3 {
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--tw-bordo);
  color: var(--tw-gri);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#product .tw-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--tw-bordo2);
  color: #3e5c76;
  font-size: 14px;
  line-height: 1.4;
}

body#product .tw-spec-row strong {
  color: #54585c; /* TEKWORLD 2026-06-24: era var(--tw-nero) -> grigio scuro sito */
  text-align: right;
  font-weight: 700;
}

@media (max-width: 991px) {
  body#product .tw-energy-card,
  body#product .tw-specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  body#product .tw-energy-section,
  body#product .tw-specs-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  body#product .tw-energy-card {
    padding: 0;
  }

  body#product .tw-spec-row {
    flex-direction: column;
    gap: 4px;
  }

  body#product .tw-spec-row strong {
    text-align: left;
  }
}

/* ================================================================
   FIX PDP energia - box bianco come "Perche sceglierla" (2026-06-24)
   Ripristina la card interna della classe energetica su fondo sezione grigio.
   ================================================================ */
body#product .tw-energy-section {
  background: var(--tw-bg) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--tw-bordo) !important;
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}
body#product .tw-energy-card {
  background: #fff !important;
  border: 1px solid var(--tw-bordo) !important;
  border-radius: var(--tw-radius) !important;
  box-shadow: var(--tw-shadow-sm) !important;
  padding: 26px 30px !important;
}
@media (max-width: 575px) {
  body#product .tw-energy-card {
    padding: 24px 18px !important;
  }
}
